OSX compatible symlink resolve for cdr