Unstable

Improved MinGW support and fixed platform independent serialization.