update for aws 0.10's better handling of DNE for HEAD

Kept support for older aws, since Debian has 0.9.2 still.
add cabal flag for use with debian's older version of aws, which is now patched with the necessary stuff