fix unmount issue in Mac OS X
Merge pull request #33 from cybermaster/master

fix unmount issue in Mac OS X