typed arrays: fix build on sunos