Fix to create the doc directory on first build

does this also work if exists?