Fix build for 5.2 ZTS