Fix compilation problems.