Replace the usage of the ocaml-re librabry as it's not thread safe.
Signed-off-by: Akshay <akshay.ramani@citrix.com>