Update cabal file
Add explicit dependencies and use correct relative path for autogen

Close #1