Replaced version check macro