build: fix build on centos 6.5
git: update .gitignore to ignore *.gz