some autoconf fixes recommended by recent autoconf
Merge pull request #28 from mkevac/autoconf_fixes

some autoconf fixes recommended by recent autoconf