use full lib name
Merge pull request #2027 from WalterBright/fixlib

use full lib name