tests: Make Apple GCC 4.0.1 happy