fix compile w/o patricia support