attempt at fallback for non C rubies