Initial adaption of shblk for NetBSD