Fix externs.js and make it a build dependency.

R=mgiuca@chromium.org

Review URL: https://codereview.appspot.com/36400043