Updated build script to handle 'checksum' target

The build script can now be invoked, for example, with the following options:
> ./scripts/build checksum --frontend beta gamma