compile error on old GCC