fixed #3480  fixed failed to build.