Added darwin and freebsd in checking cross compile