Added R libraries to Makefile