fixed rpm compilation