Configure gitignore
Fix compilation error