Fix bjam crashes on Windows 8.