changed makefile for use on ews