Check that we have lua and protobuf before relying on types from them

For lua, we can't check inside the lua_filter_rel_member_tags body
because the function definition itself requires lua
Merge pull request #5 from pnorman/threadpend_luapbf

Check that we have lua and protobuf before relying on types from them