Fix some warnings.
Build distibution files using closure-compiler.