Update common.

Mostly fix build with clang 3.4+

Signed-off-by: Florent Bruneau <florent.bruneau@intersec.com>