properly handle max version on ppc debian