fix rpm build flags