Exclude some unnecessary library binaries from the build.