fixed building with msvc