tile: fix the width of the tile by implementing _get_preferred_width
content-tile: fix incorrect casting
Add gthread-2.0 to the list of required packages