build fix by Jörn Nettingsmeier