fix fragment shader compile on emscripten