Build fixes for WindowsCE
windows Use WSAWaitForMultipleEvents() instead of poll() on Windows