Update a portability kludge to keep it in sync with changes in the code