Fix makefile for automake 1.13
Merge pull request #57 from dmashal/master

Fix makefile for automake 1.13