Fixed an issue with compiling using msvc 120.