changed the cmakelists to hopefully fix the issues building on the buildfarm.