Fixed curl compilation on win64, and disabled warnings