Fix SCOPE_EXIT macro to use util namespace, not detail