Use del instead of rimraf, fixed useref assets