Update Makefile to use separate compilation