SERVER-15006 Don't add vendored paths when system libraries are requested

Also, fixes a rebuild stability issue where the include path order
was unstable across rebuilds.