Darwin depends refactor

this was needed to build clean on my side

cheers,
amet