making the boost lib optional