fix for removing build dir