Fix build for Travis.