optimize dso module

1 add C compiler and linker options in dso_tool.
2 perform unlink before copy dso module.
3 add some module to default all modules.
4 remove some dead code.