add test-doctests flag, as doctest-0.9.5 does not build with ghc 7.7 due to ghc api changes
lens builds (thanks ekmett for fixes) and tests pass with ghc 7.7.20130117