fixed slinks.c so that yorick starts properly when /etc is on PATH