fix makefile to allow parallel builds