Fix build with libressl