Fix configure warning and clang/osx failure.