Fix all compile errors.