Looks like Heroku requires 64 bit binaries, so no Cog. Half baked parameterised VM_VERSION, with hard-coded link to 64 bit Linux Interpreter VM.