Fix some warnings compiling BSPC using mingw

Unknown pragma warnings.