Previously we would fallback to using `kernel` as the `os` which would result in using the wrong `os` value (`none`) when actually we want `unknown`. This seems to be a special case for wasm32-unknown-unknown and wasm64-unknown-unknown so I extended the if statement to support it.