fixing IsPipingStdin for untested platforms