adding rimraf and cleaning before build