Imported changes from Rubinius.
Bumped version to 2.0.0.12.