Fix build on Travis.