Why does the OH not attack first in this case? What makes the alkyne the stronger base? (further explanation provided below)

enter image description here

For this question the alkyne attacks the acid first, however in other addition reactions the OH part of the molecule attacks the acid first because it is a stronger base than the alkyne or alkene.