modify param_xml module and other code of tstools to support 64-bit system