Compilation on MSVC

To make it compile with MSVC I needed to compile as C++ (since msgpack is also compiled as C++ due to type ```bool``` in msgpack\zone.h). This requires excplicit type casts of ```void*```.