Check if sudo is installed before aliasing.