ensure that xcode can find the R framework