Clear build warnings.
Fix library_system.js to not throw when run under node.js.