Fix build for 6.5.