Fix colored console output on non-Windows platforms.