fix lib_flags when clang is gcc
Merge pull request #56 from kostya/fix_gcc

Fix #55, fix lib_flags when clang is gcc