Fixed compile error when utils are enabled.