Added test so the build procedure would stop if a directory did not exist. This typically indicates a bug in a directory level Makefile or a configure scrip bug.