CMAKE poliy issue fix for old versionn