apply a variant of https://github.com/icecc/icecream/pull/106