Playing around with Miva C API to create dll/so libraries to extend Miva Script