Update common.

Add ability to build with sanitizers.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>