Build SOAP extension as shared instead of static

Updates the changes in #35 to build SOAP extension as shared instead of static.