fix ubuntu building script