use gnu versions of certain commands on os x when they are available