enhanced build script with WSDL generation for old and new lib version