modified makefile for compatiability across servers