Relicense build script under 3-clause BSD license
Make license failure fail the build early
Merge pull request #584 from elehack/feature/elehack-build-license

Build improvements