Turn off compiler optimisations for MinGW because it triggers a compiler-bug