Fixed warning "no previous prototype for function" in log_posix.c
In the case of windows, allow for the OutputDebugString call in addition to logging to stderr. Useful for the dll scenario and debugging in Visual Studio.