fix PATH and LD_LIBRARY_PATH of gifsicle and jpeg