Added checks for older GCC