Fix rpm building failure