Fixes building in CentOS, sudo was missing from some commands

Fixes building in CentOS, sudo was missing from some commands