Fix rpm build bug