Fixed small bug in build.js