Correct build process to find R.h properly