Fix inherit stdio