dwarfs file share implement go a step further, fix some warning for mac clang++ compiler.