Fixing memUsed() and memUsedTotal() inconsistencies between platforms

Thanks to Martin Maurer for pointing these out

Fixes #108