Merge pull request #478 from lht/fix-build-master-62fb41c32

Fix build master rustc @62fb41c32
Implement readlink

Fixes #111