Make emsdk work on OSX.