implemented xerotl to replace win32 specific _rotl usage