Fix Makefile for out of source build