Add support for Darwin throughout.