waf check_python_header failed is python2.7-config is a shell script (sometimes it is a python script).