bsd flavour fix