fix build on win, move to rimraf #12