Simplify lua_cmsgpack macro and fix build on old Linux distros.

Thanks to @badboy for the help in checking the build after the fix.