Spec fixes for Travis environment.