1 fixed the bug of generating makefile in dso module.
2 determine the return code of make command in dso module.