Fix build without CUSTOM_CRYPT