fixed some makefile shenanigans