Tailoring the microenvironment of enzymes in water-poor systems