Fixed up some compilation errors.