Various tweaks

Primop builders
Globals and builtins for some unboxed types