Fix conditional rpm compiling.