Fix to R_HOME paths on OS X