take 2: workaround platform dependend outputs, discussed in #986