Fixed minor compile errors.