Update build.js

Is it necessary the ```cp.spawn``` calling in /lib/build.js? Seems it can be simplified to ```cp.exec``` to be compatible in windows environment.