Fix issue with mkdir within docker build