Clean up the built shared object