Fix preferences with modern gtk+