Added workaround for gcc.