workaround platform dependend outputs, discussed in #986