Fix MSVC error C2036: 'void *' : unknown size