error when not using MSVC