Fix alarm so it can wake up system from deep sleep