Updated to use GetEngineVersionCompat