Use C99 _Bool if available
Add .gitignore
Allow override for CFLAGS/LDFLAGS