Add compatibility for curl under version 7.19