Improve python2.7-config script