Don't add CXX Flags as definitions

Compiler options should not be added as definitions since definitions are also given as parameters to other tools like windres.

(This broke cross-compiling with mingw toolchains because they are gcc based)