Make test cases compile (with gcc 4.8).