change makefile and added sweave.sty for build without R
fixing conflict on figure legend