set OCI_THREADED only when mapserver is built with USE_THREADS