Add xml2 to PROD_SYS_LIBS on solaris and Darwin
Add xml2 to LIB_SYS_LIBS on Linux, solaris and Darwin