fix Makefile (compared with original rice Makefile)