Add foreign to automake parameters

This makes the latest git code autoreconf-able on Mac, i.e. with this patch I can use `autoreconf -if; make; ...` like I can do on the latests release (v3.15).

```
autoconf (GNU Autoconf) 2.69
automake (GNU automake) 1.14.1
```

Without the patch there is error:

```
$ autoreconf -fi
configure.ac:12: installing './compile'
Makefile.am: installing './INSTALL'
Makefile.am: error: required file './README' not found
Makefile.am: error: required file './ChangeLog' not found
parallel-tests: installing './test-driver'
autoreconf: automake failed with exit status: 1
```