add build and out directories.