Fix some other stuff and try to implement clSetDestroyMemCallback