fix includes of toint in fast_toint + only define fast_toint on arithmetic