Edited makefile for Rhea. added checking for env vars on rhea as well