Fixed some errors for Travis.