fix warnings and errors on clang (FreeBSD 10+)
add binary to gitignore