change to configure.py

added else clause and recommented fd(d) code