Detect os and hardwire OSX total memory to 8gb