Fixed curl compilation on Windows