Fixed compile-bug in release mode.