Fix library name parsing of libfoo-2.0
Merge pull request #48 from Nami-Doc/master

Fix library name parsing of libfoo-2.0