Fix problem with several runtimes configured