Fix build with rust master

static -> const