Fix #955

Fixed uninstall script.