minetest lua utility functions that should be in lua implicitly but aren't