Small fix of the rebuild.js.