replace symbol link with linked file.
fix bug introduced when merging from upstream/master