pass profiling flags to cabal and ghcjs while booting