fix the issue of build failed on Ubuntu