Fix & document build on Ubuntu

Also: hide build-generated files from Git