Fix an issue when release build.