Fixing python wrapper's ctypes cast to void *.