Get separate compilation working using the Makefile