add support for older GCC versions