Fix bug when pear package mongo
Add options for share folder