remove BSD related ifdefs