make build/init compatible with providerkit-php