add explicit link rule to makefiles
Merge pull request #79 from Waldteufel/fix-makefile

add explicit link rule to makefiles