fix rpm build error