Thread.cpp: Don't destroy os thread if it hasn't been created.
TestThread: Hack to allow FreeRTOS idle thread to run (freeing thread resources).
TestThread: remove auto. :(
TestThread: Attemt to satisfy VC10
Fix build on Windows 8.1.  See #2236
Stop prefixing all libraries with a unix-style 'lib'.  This will help dependant repos update their version of waf but may break compatibility for some clients.