Fixed VC++ compiling GCC-only code