fixed bugs related to inotifyx watch removal
use portable #! python header