Extract a class to make possible to install apple-gcc42

Even on Mavericks apple-gcc42 is require to install Ruby
Enterprise Edition