fix test for whether gaia2 is present to build examples