fix compatibility with cx_Oracle and windows
Improves on the changes of ypcat to support Oracle 10 on Windows and some global symbols I missed