Fixed linux compile forgot to include algorithm