Smith's Rex win is first on Web.com Tour