See culprit and simpler workround at https://forum.avast.com/index.php?topic=196471.msg1365022#msg1365022