added KDEDIR/lib to the search path for jpeg/gif lib changed KDE to prefix in configure.in
Changed paths: