add automake support