Intelligent gimp finder

More intelligent logic to find gimp location on posix systems.