issue-636: fix prof/web command on Windows/MinGW

This applies patch sent by user chaishushan.