Fix buid for old version (ushort -> short).