Made libhts 64 bit compatible