compatibility with gcc 4.2.1