moving buildDir access into ProjectFileSystem