Fix for MinGW-w64 compiler

[According to docs](http://msdn.microsoft.com/en-us/library/windows/desktop/ms644898%28v=vs.85%29.aspx), should work for both 32 and 64 bit architectures.