Fixing build for RHEL 6