Make it compatible with MSVC build environment