Joined lib and include directory checks to one pass. Now doesn't add include directories that correspond to libraries with the wrong abi. Rev: src/configure.in:1.898