Just enable cabal macros file immediately
Detect and enable extensions from cabal file