Call AM_INIT_AUTOMAKE once only

Fixes build with automake-1.14
Merge pull request #175 from lipidity/fix-build

Call AM_INIT_AUTOMAKE once only