launcher: fix running as root