Fix some brokenness in Windows; the different C++11 implementations of threads/async/futures is tripping us up...