fix compatibility with glibc >= 2.19
Update gitignore

- add C rules from Github
- add arch/*/syscall_*.h