add m4 dir for compatibility