fix and enable minifyNames in native optimizer