Modified compile check macro so it works correctly