Fix for bswap16