fix symlink issue on mac os x

fixes #22