Fix rpm version comparison