Use CPPFLAGS where appropriate
Merge pull request #54 from ryanakca/cppflags

Use CPPFLAGS where appropriate