RECORDER: Fix some problems with compilation on non-SDL platofrms.

Still does not compile, though. Too many dependencies on SDL.
Thanks to fuzzie for inspiring me to look deeper into it.