handle non-existence of emscripten more gracefully