Add missing buildDir variable