add --no-undefined only when supported