support building as libshadowsocks
revert autotools version
Merge pull request #127 from clowwindy/master

Support building as libshadowsocks