Add _DARWIN_C_SOURCE to allow compiling on OSX

This allows OSX to get declarations for readlink(), setegid(), seteuid() etc when compiling 

Allows successful compile on OSX 10.9.4
Didn't break the build on Linux (tested on Ubuntu Server 12.04 LTS & Centos 6.5