fix up threaded perl config (thanks jdb)