adapted bit32 rockspec to static functions