Add OSX support to getMemoyInfo()