Handle LocalBuildInfo for Cabal 1.21; fixes #343.

These changes resolve the bug reported in #343.  Even though this bug is closed due to it referring to an unsupported version of Cabal, it was a creating a problem for me and the fix was fairly simple.