As in https://github.com/flatpak/freedesktop-sdk-base/commit/0f966a64bab45c580d22e4ea0d96ccb7e2f60b93