configure.ac: add foreign option

Signed-off-by: Barry Allard <barry.allard@gmail.com>