Helper file to compile smokeqt with thread support (unfinished)