fix some make files for automake-1.13
Merge pull request #48 from NiceandGently/master

fix some make files for automake-1.13