Fixed build warning; added .gitignore