Added 'use std::num::NumCast' to support removal from rust prelude in commit e965ba85ca689ad77f63b7f0af9d7e337dcb4825 on rust master