Fix build breakage with get_partial_name()