use SizeT instead of NativeLong for JNA