Removed qjson and fixed compilation on windows