Static library

A static library option for ghc