make approx-mem-usage measurer work on both OSX and Linux
make approx-mem-usage measurer work on both OSX and Linux

see
http://lists.apple.com/archives/Darwin-kernel/2009/Mar/msg00005.html

elidupree/Lasercake,idupree/Lasercake,Lasercake/Lasercake,Lasercake/Lasercake,idupree/Lasercake,elidupree/Lasercake,elidupree/Lasercake,idupree/Lasercake,idupree/Lasercake,elidupree/Lasercake,Lasercake/Lasercake,idupree/Lasercake,idupree/Lasercake,idupree/Lasercake,elidupree/Lasercake,Lasercake/Lasercake,Lasercake/Lasercake,elidupree/Lasercake,elidupree/Lasercake