improve method for getting home scheme purelib
Merge pull request #903 from qwcode/home_lib

improve method for getting home scheme purelib