tools: libressl: fix compilation for non-glibc clib (FS#2400)