fix msvc 12

@jpihl @mortenvp This is all green with Visual Studio 2013. We can merge. And we should merge this into kodo-private.