build directory for makefile