Resolve sympy issues with Travis CI