build: fix build on old build system

Regression from 082c5c19