Added support for some Darwin-specific flags.