Fix the compile errors.