Added include algoritm for gcc