For builds with curl, use curl-config to get appropriate compiler and linker flags. Should complete fix for #XERCESC-1892
Changed paths: