Fix missing sys import