Fix w32-pthreads build and string handling
Stop forcing parameters on jansson. Modify their CMakeLists directly instead