Fix the conftest.py script

Remove the calls to the unused Tools library
Use os.system in place of subprocess