fix for old cmake