fixed debugbuild check in smoke.py with --use-ssl #648