Fix compiling with MSVC

With the recently added JSON parser the MSVC project files needed to be updated.
And a small fix was needed to let the parser compile.