Add global_init stuff to testcrypto.cc, link just enough to work