fixed autoconf detection of pidgin (gtk ui part) and added detection of libpurple (pidgin library)