Honor CFLAGS, and set some sane defaults.
Merge pull request #228 from arthurschreiber/honor-cflags

Honor CFLAGS, and set some sane defaults.