Fix build dependencies in the Makefile