Make test launch work across platforms