clean build directory and rm itself