Added creation of necessary directories in makefile.