remove build directory when over