299: fix for doing a shared build
299: removed debug echo from Makefile
299: failed attempt to fix test of shared/static build
Merge pull request #4 from pohutukawa/master

fixed shared build