fix cfg of link attribute for window/linux/freebsd
Merge pull request #21 from sp0/master

fix cfg of link attribute for window/linux/freebsd