Trivial build fixes for addpartial