Fix missing import os and sys