Fix detection of RC compiler presense, and null obj fallback.
Thanks to Juergen Hunold for the bug report.