Handle autotools m4 stuff properly