[yafuse-fork]: refactor code only.
[yafuse-fork]: fix linking error.
[yafuse-fork]: fix linking error;
               add lib and header into installation destination;
[yafuse-fork]: fix run-time error.