fix the fix for building on rhel