Preparation of lipases for use in organic solvents