Remove an unnecessary readlink -f

This fixes the build on OSX