Fix for old gcc