libpcre: fix POSIX compatibility layer