Launcher: fix build errors.