Added a call to ole_initialize and ole_uninitialize to workaround a win32ole bug in 1.9.