Workaround for gcc segfault.