Auto-detect CF version