Also make it compile on both MinGW and MSVC
Add the return statement at the end of main to fix warning
Implement strtok_r for Windows
Merge pull request #19 from linquize/return-statement

Add the return statement at the end of main to fix warning
Merge pull request #20 from linquize/setenv

Support both MinGW and MSVC