Fix regex-posix build