Dynamically retrieve version from cabal

Thanks @sindresorhus <3