fix foreign libs regular expression
Merge pull request #7 from evindor/master

fix foreign libs regular expression