Fix rpm package build after latest changes.