Fix compile error with SOFTWARE_LEVELING