Update Makefiles: dynamic library can now be compiled with "make dynamic". Minor update of sample-src Makefile.

Signed-off-by: Charles Joly Beauparlant <Charles.Joly-Beauparlant@crchul.ulaval.ca>