fix bug for ubuntu14 to build.