Allow both OS X and Linux builds
Remove and ignore auto-generated files