For now I've been editing the Makefile directly and haven't updated the Makefile.in. Once it works I'll transfer everything to Makefile.in and remove Makefile.