updates to build with mbuild (vs nmake) on win32