Merge #23 into rust-0.9-pre and remove backported libstd method