fix sys.executable call

It seems this resolves #933.
Could someone please check?

Thanks @yarikoptic !