Fix build errors and add .gitignore