Changed license check

Changed how the build script checks whether the minified output already
has a license comment