Fix one more sdk 17 to 18 change.