Fixed remaining build errors; removed generated stuff from versioning and put it into .gitignore

see title