fix 'empty basedir' problem in Windows;

see http://stackoverflow.com/a/7783326
Merge pull request #104 from caiguanhao/develop

Fix empty basedir problem in Windows when using MEIPASS code example from manual.