Added patches for RPM build.