add foreign to am_init_automake