Updated build settings and .gitignore