For now I will just comment those parts out and custom compile that part of the war3 engine.