Remove sudo dependency in debian and unneeded patch in SmartOS