Thread is needed on Wheezy but not on Centos6. Conversly regex is needed on Centos6 but not in Wheezy.