splitting darwin and linux