make terralib.sizeof use the same code as sizeof inside terra code.
LuaJIT's support for vectors was causing things like vector(bool,16) to be wrong.