More fixes to make things compile on Unix, including fixing libxml2 links, many capitalization inconsistencies, and general library linking for non-Windows builds.