add json to the list of things not to build when using without_shared