Revert ticket #1893 - netbsd-5 does not have pathbuf_destroy()
Revert ticket 1893