workaround a netbsd bug where they did not compile with d1_meth.c