respect CFLAGS/LDFLAGS when searching for headers/libs
Merge pull request #368 from iElectric/respect_cflags_ldflags

respect CFLAGS/LDFLAGS when searching for headers/libs