Adapt flatpak build to upstream changes