refine the package to be release build.