Fix for lens 4.5.

Fix to compile under 4.5 and bump lower bound to 4.5.