Add OS-related files to .gitignore
Move definitions into their own section
Add build script