Fix build with gnu++11