Replace autogen custom commands with autoreconf