replace boost lib with static linking