support old versions of gtk