set max heap dynamically during compile phase for sbt
tweaking max heap on compile so it's only set once