Fix bug in PAT recipe, make ZZ dependencies optional

Should fix #266 permanently.