Improving to build in NetBSD