Added generation of a build.txt file. Fixes #8