Fix compile problems.