Realtime console output fix for Unix systems