tweaks to compile with MSVC2010