Fix cabal paths for Linux

Detect if running on Darwin or Linux and set the location of
cabal appropriately.