Build fix for gcc