updates to compile with MSVC