Check for sudo and permission to run sudo make setuid

This should fix the sudo issue you were having.