Separate the compiler and platform target quirks

The former is always necessary, the latter is necessary
only when building !KERNONLY.
Calling evalplatform is necessary iff KERNONLY