Remove unused sys imports
Feature testing instead of version check, take 2