Fix building of RPMs