Fixes #4781 - Update to use dynamic bindings
Merge pull request #6 from iNecas/apipie-bindings

Update to use dynamic bindings