Use LDFLAGS in linking step
Makefile: Use better variable names for shared library and links
Allow user to enable/disable building a static/shared library