Fixed some problems with arrays of void after mapping void* to IntPtr