Patch agent install to work on CentOS and Debian