emscripten: Build fix for Mac OS >= 10.10