Add buildsys for dynamically loadable code