Add dummy threads module to make tests run.