Fixes JSON building in windows with MSVC 12