cmake not quite working