Fix compile error in release mode.

Fixed compile error in release mode, missing require macro.