Fix compilation with minGW
Fix Ctrl+Shift+Tab to select previous tab