fixed build to handle MSVC version