Cleanup, and update dist file.

* Cleanup Makefile.
* Minification giving errors with 2 errors
with closure_compiler in the emscripten generated code.
* Added two quirks in `src/types.js` when using
libspeex.js with -O3.