Update bywaf.py

revised code, note: os.kill has problems in 64bit windows in version 2.7 and below of Python