Add and document a build script

Fixes #61