Please uncomment the 4th and 8th lines in sam/Makefile before compiling RSEM.