Fixed makefile to create directories