More cmake hacking