Removed -f switch from readlink

for compatibility with OSX

Signed-off-by: Daniel Borchmann <daniel.borchmann@mailbox.tu-dresden.de>