backport pbauers fix of "use strict is not a function".