On Linux, link regexdna_multithread with -lpthread.