Texan firm wins deal for Peru gas plant