Remove pango dependency when building on Ubuntu.