fix boost library cross-compiling error