RECORDER: Made event recorder switchable at compile time.

Linking still fails.