Add thirdpartylibs.xml and fix #42