Compile options fix on MinGW gcc