Fixed alert_handler.py to work on windows. This resolves #22