Please MFH r439020 to the 2017Q2 branch to unbreak the build with the SMB option disabled.
The 2017Q2 branch is obsolete, the 2017Q3 inherited the fix from HEAD.