Fix building of disco and build libjson.so