Fix bug #2312 and add a check to show only the relevant information for Windows/Unix...