package translator: don't use ugly defineProperty in case of ecma5 target