fix for msvc 12

@jpihl It's green. We can merge.