HLS: do the ifdef correctly for LIBCRYPTO