Trying to get this working with curl on MinGW