Visual Studio fixes

x64 builds again, and test suite runs again with `-m32`. One `real`-related test is still failing with `-m64` (when built with VS).