fixed #2
 - The build and test on OS X is done!!!
 - slightly change the test codes (tc_xi_dso, tc_xi_proc)