Makefile fix

Removed 'readlink -f' for BSD compat.