adapt recipe to old apache version