Glib finding code and i686 fix