fix linking with re2