Switch preprocessor conditional to also work for MinGW