try to tweak build to avoid dynamic linking to libpb2json