Some fixes to deploy.py

Corrected name of .so

Allowed the specification of the path to dump the .so files