Fix build errors in touch wake