Fixed compile error C2894

of version: 0.8.0
system: win7 x64
IDE: vs2012