os name check and architecture check for gpio