Fix Bug and Build Break

* Hosting: [BUG FIX] Corrected the bug that the Flags of CLI header is handled the same as PortableExecutableKinds.
* Metadata: [BUG FIX] Fix the build break in the debug configuration.
* Metadata: [BUG FIX] Enabled that the non-strong named and executable assemblies are resolved.