fix build failures.