Fixes https://github.com/aspnet/KRuntime/issues/910

@ChengTian @muratg
`(Debug|Release|Custom)`
we might want to make it something like `(Debug|Release|{Custom})` to prevent users from using `Custom` directly as a value of configuration.