Build libcrafter as a static library

Signed-off-by: Gregory Detal <gregory.detal@uclouvain.be>