make clib friendly
Merge pull request #1 from jwerle/master

make clib friendly