remove unnecessary symbolic links