Improved Emscripten build file
* Fixed issue where .o files were created in the src tree
* Build a .bc file for each source file
* Faster builds when only a few files change