cmstest: Fix compile on some older systems