In triangle $ABC,$ $\angle C = 90^\circ.$ A semicircle is constructed along side $\overline{AC}$ that is tangent to $\overline{BC}$ and $\overline{AB}.$ If the radius of the semicircle is equal to $1$ and $BC = \sqrt{3}$, then find $AB$.