revert Makefile for generic building