Install greenlet when necessary and fix import