Fix missing sys import (this is getting ridiculous).