Fix automake debug flags