Add library section to cabal package configuration