Changed makefile for local compatibility