Fix build for 5.2