updated for 64 bit curl build