Make Setup.hs compatible with both new and old cabal and switch to libtool. #46
Only import what we need from Typeable
Add ar script support for Linux builds