fix compilation on older systems