Fix clang compilation

Change-Id: Ic2617b5eca47ebbcc04119dd7e064b8f570fbc09
Reviewed-by: Daniel Teske <daniel.teske@digia.com>