Fix build with gcc and style