cmake: Link statically to std/gcc libs
Add ninja-build
(github #18) Fix spacing around operators
Fix cmake - $<> syntax
Check variable before making any deletions
Don't handle empty stuff (fixes segfault)
Update to newer version of mingw
Fix windows dll