Fix build
Fixed compilation problems on Windows with MinGW-w64 4.8