Fix for updater.pl script hanging while updating on *BSD systems.