more redhat build fixes