Fixes nullpointer exceptions on unknown architectures