fixed bug where the install script failled to detect broken symlinks