Added another error check for older installations.