Fix build in some rare case.

Local PR to try to get travis to build.