Calculate free memory on osx too.