Fix breakage with latest rustc: static -> const, no_stack_check