Only replace plugins directory on CentOS