- fix building with libweather 3.10.x