Includes unit test for condition variables in C (previous test was C++ only)
Refactors LWIP to use this for the LWIP thread local semaphore