Fix threaded perl, <= 5.10 still borked