Fix rpm build script