Intelligent gimp finder

Provided more intelligent lookup of gimp executable on posix systems.