darwin: support autoconf by Makefile.am