Fixed windows build in debug mode
Fixed build with DEBUG_CURLIO defined