changed makefile for rhm and added linux version of rhm