Portability fix.