osx: use glibtoolize
fix insecure string

 warning: format string is not a string literal (potentially insecure) [-Wformat-security]
fix warning parentheses

  warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
fix warning extraneous parentheses

  warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
Merge pull request #4 from guitorri/build-osx

Build osx