modified cmake to compile on troll