Failure to build using ld flag --as-needed

git-svn-id: https://svn.apache.org/repos/asf/xalan/c/trunk@1526216 13f79535-47bb-0310-9956-ffa450edef68