Fixed issued with less-supported Rubies.