Adding `import sys` to fix the installer