fixing stuff with build dir