Fixed build/Makefile to check to see that the directories exist.