Correcting data dir var for build process