Remove dependency to readlink because not portable to OS-X. #9