Fix compilation stopper on macOS with -Werror