[BuildBoost] fix spurious endif