fix win build errors - json spirit