rename ToShort -> ToNarrow and fix compile on Linux.