Added cpu type and memory size detection for OS X.