Fixed weird compile error for vintage gcc version.