BUILDBOT: Add workaround fix for "make tests".

This should be removed when the Event Recorder code no longer breaks
tests due to a GUI dependency.