adapt apigen to changes in buildpack