fix for #3912,  support older gcc versions