Fix linking together with static boost