Fix build error on RPM