Make helper static and place random global into the llvm namespace.