Fixed cmake arma issues