Update .gitignore
Fix the compiler warnings