make installation more robust if SFRAMEDIR could not be resolved or if SFRAME has already been set up