(crypt): Don't define if building a shared library.