add support for old gtk versions