Fixed run_m_script for Waf 1.8