Fixes symlinking problem. Can now handle both environments.