fix ubuntu14 build warnings