added thread.h include (necessary since 227c847135c5d85cf0e9fe5770f5c47a0e5cba3b)
Merge pull request #447 from OlegHahm/thread_include

added thread.h include (necessary since 227c847135c5d85cf0e9fe5770f5c47a0e5cba3b).