Some fixes for gcc with strict options

Hi, Mons.

I want to try Your project inside tarantool's plugin, so I patched it for our gcc options.