Install gcc 4.2 before rvm to fix problem with xcode