Make AutoNet a shared library