fix a build issue on old systems