Added audio and gamepad extern files for Closure.
Updated the build script.