Build tweaks, .gitignore updated.