Fix Makefile for parallel make

fix dependencies