Revert "Fix errornos assumption that all compilers are gcc"