added check for out directory when building docpad