issue #4277 : To support compile.

issue #4277 : To support compile.