Improve check windows
Improve expand()
Fix #114 remove GPL code in proc_w32.c and change the license to MIT.