Fix wrong variable that caused build failure.