fix compilation of sweep2wake