Fix automake build