Fix numpy and scipy problems with Travis