Execute configure using python

Change-Id: Ica50f76dcaa006eaf9277f1f20313b8cb88440b9