Use hw.memsize value only

On Yosemite, the output of sysctl seems to have changed from "Key = Value" to "Key: Value".

By using sysctl -n, the key isn't printed anymore and so eliminates this issue.

Fixes #1
Fixes #2

Signed-off-by: Jérôme Gamez <dev@gamez.name>