Support builds that doesn't use cabal for libs and rts