Updated 1.9.2014 4:37.
Fixes for WIN32 support.