allow creation of multiple shared memory segments on win32. fix pybullet compilation on Visual Studio 2010 (old compiler)