Fix #1322: Better linkage errors in Rhino