Fix the poll socket engine.

This fixes a build error which was introduced a few weeks ago.