Moves kotlin compile to profile that is only activated on a jdk less than 16. This should change once kotlin supports java 16. Deals with samples that use kotlin moving import to a selector only if the class exists and disabling a new test that tests the kotlin route. Fixes gh-2186