Stop hawkthreads casting between void pointers and ints...
Probably leaks memory now, but this library is bad anyway...