fixed the build script for emscripten.
added the implementation for file for android, the header for all. made the make file for emscripten