Resolves FTBFS reported in #2261221 and #2254318. It is unclear why this change is necessary, but I suspect it has to do with changes in gcc around protections in path traversals, as the path is expanded to `../xml/../../examples/gobject.c`.