main-loop: Fixed build error.