Forget it, there was some code missing to match the platform correctly in my custom GCC. Added it and now it's working without the `unknown` part. Cheers