Updated configure to set _DARWIN_C_SOURCE on darwin