Fixed the build.

I can't believe this builds on MSVC