Add task to cross compile on darwin and linux