Raise error on unknown platform.