Fix runtime lookup during kpm pack on Mono

- Fix framework name parsing: Mono KRE doesn't have architecture component
- Fix userprofile resolving on Mono

parent #644 and #272
Can call `string.Equals(parts[1], "mono", StringComparison.OrdinalIgnoreCase)`.