Tweak cfg(not(a, b)) and fix building libstd on arm linux

The two commits have the details of the two fixes