portable version of readlink in convjars/Makefile.am