change omp loop var to bst_omp_uint, add XGB_DLL to wrapper