Add a way for Haskell to manually set the mark in the C code

This is a somewhat ugly hack that should be changed sometime

Fix #7