Dynamic linking to libShellCheck

Hi,

This is a modification of the cabal file for dynamic linking of the executable to the library. It doesn't change anything at development time (since it uses ghc directly), it is rather for distribution packaging.

Dridi