Fix compilation errors.