[build] Only build the RPM packages if there's support for building RPMs on the system