added darwin and linux support to metac