Fixing cmake to Slicer requirements