Fixed a bug which prevented SOAP from creating a lib file in the working directory.