Trying autoconf for portability, first pass