mk: add ability to build with sanitizers.

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