Add option lib in the Makefile

This option allow you to compile uniquely the library