Add HAVE_DARWIN definition