Updated libncursesw patch to be FreeBSD/MacOS compatible.