ensure boost system is linked after thread - closes #2436