compatibility with python 2

Add support of the threaded worker on python 2.7. python 2.7 has no
futures module. With this change the compatibility module is installed.