Fixed Linux bug with invalid symlinks.