Ensure directory m4 exists before running autoreconf