Make sure build artifacts directories are given the correctname