Call AM_INIT_AUTOMAKE once only

Fixes build with automake-1.14