Introduce missing -dynamic flag, fix targets from Makefile
Merge pull request #6 from mgmarino/fix_static_build

Introduce missing -dynamic flag, fix targets from Makefile