Fixing build system for MSVC