clang: Fix build warnings

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>