Use a VM-generated Primitives.hs file to match the primitives environment of the VM.