fix box2d compilation with emscripten