Fix compile warning
Add generated files .gitignore