Minor build tweaks: made CMakeLists.txt default to something reasonable when used without generate scripts, and changed generate script to be run from “builds” directory.