Work around a portability problem.