fix libjpeg detection

makefile 'echo' bash,dash,/bin/echo/,/usr/bin/echo ...