added /usr/share/man to MANPATH; fixed check for symlink in makelocallink