Add OCI_THREADED to OciEnvCreate flags and fix some warning