Fix buildDir