Load our config first
Never define the _GNU_SOURCE macro
Our custom config should not be in the public header
Remove test for memmem. We have to use our own it is a gnu extension
fix osx build