build for multi thread env