Fixed cmaes for FreeBSD