fixed curl DEBUGASSERT for release builds