[build] Build the extension inline

This fixes sphinx autodoc because otherwise it cannot import
the neuroshare package