settings: Fix compilation with newer versions of Clang