selecting old condition variable implementation if not supported by windows compiler