macosx: Unbreak building

In order to use strcasecmp and friends you need to set
-D_DARWIN_SOURCE and -D_DARWIN_C_SOURCE