Modified gen_vmoptions.sh script to properly parse memory size in Mac OS X Yosemite.