Move OS dependency check to systemtools.py