Just a note: The real fix is to write test which involves a test
compilation + linking on the *host* system. Dispatching on a platform
ID is basically a hack and even if it's done, the *target* platform
should be taken into account, not the host platform.
Cheers,
S.