Made get_avail_mem_size try to use /proc/meminfo.