test-lib: add LIBPCRE1 & LIBPCRE2 prerequisites